<%-- 
    Document   : medByDep
    Created on : 7 nov. 2014, 12:31:31
    Author     : sio
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="style.css"/>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
       <div id="entete"> 
            <img id="logoGSB" src="logo.png">
        <h1>Recherche Medecin</h1>
        </div>
          <div id="menuGauche">  
        <a href="Control?uc=dep">Liste des medecins par Dep</a></br>
        <a href="Control?uc=nom">Liste des medecins par nom</a>
        </div>
        <div id="contenu">
           <table border="1">
            <th>prenom</th>
            <th>nom</th>
            <th>telephone</th>
            <th>adresse</th>
            <th>specialité</th>
         <c:forEach var="unMed" items="${listeMed}">
         <tr><td>${unMed.prenom}</td> <td>${unMed.nom}</td> <td>${unMed.tel}</td>  <td>${unMed.adresse}</td>  <td>${unMed.spe}</td></tr>
             
           
        </c:forEach>
           </table>
        </div>
    </body>
</html>
